<?php

namespace app\model\zs;

use think\Model;

class ZsMemberCouponSettleByte extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'member_coupon_settle_byte';

    // 设置当前模型的数据库连接
    protected $connection = 'zs';

    public function couponOrder()
    {
        return $this->belongsTo(ZsMemberCouponOrder::class, 'out_order_no', 'docno');
    }
}
